Oh, wow...all that WITH a helmet. You are so lucky to be OK. Phew! Glad you didn't suffer too much more than superficial damage. Take it easy getting back to riding.
Stories like this remind me that I am not being overly cautious by not riding alone...yet. Too much can go wrong, especially since I am such a noob.
Do you have any idea what happened? What did your friend witness?