Near the end, when Peter goes into the restaurant... (SPOILERS)
And sees MJ and Ned, and then decides not to read the "My name is Peter Parker" speech he wrote to get them to remember him, and he leaves...
Do you think he looked at them and thought "Wait a minute. I have a chance for a fresh start here. Why the hell do I want these two losers back in my life again? Now I can get an attractive girlfriend who isn't a total depressive, and a best buddy who isn't an obese nerd!"