My take on your situation is how incredibly NORMAL it is. Not that its pleasant to go through, but boy-meets-girl/boy-loses-girl scenarios happen every day to millions of people. Its NORMAL. And when it happens its NORMAL to hurt. And when you hurt its NORMAL (and healthy) to express your feelings to friends who care and support you.
The truth is, life comes around and kicks everybody's asses from time to time. I think you are doing just fine. Give yourself some credit.
Seems I've got to have a change of scene
Every night I have the strangest dreams
Imprisoned by the way it could have been
Left here on my own or so it seems
I've got to leave before I start to screamJoe Cocker