Good thread ... I'm going to base my responses on what I think a reasonably new, recreational diver should do ...
NewFloridaDiver:
You're diving with a group of new OW divers in a murky quarry or other low-vis (5'-10') place at about 70'. You can see your buddy and a few others but they are hard to see.
First off, before you start this dive, you should ALWAYS designate who's buddied up with who ... diving with a group in 5 to 10 foot vis is just a bad idea. So let's assume that you know who your buddy is. That's the only person you're going to care about at this point ... because the other people in the "group" should also have a designated primary dive buddy.
NewFloridaDiver:
All of a sudden an errant fin-kick takes your mask away and your 2nd out of your mouth, and hurts bad!
Your first priority is to recover your reg ... don't forget to keep an open airway while you're doing this.
NewFloridaDiver:
Now all of a sudden, you can't see anything, your mask is gone, but you manage to get your 2nd back in your mouth. Now you can't see your buddy, you've probably shot up a bit from kicking.
Well, you can't see your buddy primarily because you don't have a mask on. Can you recover the mask? If so ... or if you are carrying a spare (doubtful if you're a recreational diver) ... replace your mask. If not, open your eyes, put your gauges directly in front of your face, and begin a slow ascent to the surface. Your vis will be limited to a few inches, and very blurry ... but you will be able to make out enough to read your depth gauge if you're holding it right in front of your face ... and at that point it's all you really care about.
If your buddy saw what happened, he or she should be there to assist you. If they weren't paying attention and swam off, they lost you anyway due to the poor visibility, and therefore they should be also making an ascent to the surface once they realize you're missing.
In this case, I would opt not to do a safety stop (since it's not mandatory), but I would make every effort to maintain a slow, steady ascent.
Once on the surface, remain on the surface. If your buddy doesn't show up, summon help.
... Bob (Grateful Diver)