damn, that sucks. The other dude is obviously a fucking idiot for riding around without a helmet on to begin with. People get tunnel vision out there, only focus on what is directly ahead of them instead of watching for other people around...I always try to stress that to my girl on the sand.
Sounds like you got fairly lucky though, you could have been busted up a lot worse. How did the quad end up after the crash?