Don't beat yourself up about the procrastination, but also don't beat yourself up over the lying and deflection that you did. There is a significant number of students going through the same thing. It doesn't make you a bad person, or even a very poor student. You just got derailed, and had difficulties getting back on track.
To me, it was a very educative experience. I learned a lot about myself and my abilities.