The largest mistake was probably target fixation as much as anything. It is a fairly natural human instinct. We instinctively focus on what we deem a threat.
The problem on a motorcycle is often our instincts are WRONG.
When a person panics control goes out. You freeze and can only do one thing if you are lucky. For most that is grab fists full of brake, and fixate on where you think you are going to hit.
Unfortunately... that ISNT the threat. You just think it is. The real threat is beyond the car you think you might hit, as that is where you want to go, and you need to be sure what is there so you can react accordingly there too.. after reacting to the car.
It takes time and LOTS of experience to train out those natural human panic instincts.
Those are reasons rider training and trackdays are so highly touted here. It helps. A lot.
Get yourself some gear... bet you wot make that mistake again

. (FWIW we havnt all done it. Ive never had road rash due to lack of gear).
Glad you are mostly ok, and good on ya taking the critisism well

.
Turns out some of us have been around this a long time and know the truth without you having to say it

.
Feel free to ask. We like to help, just with a hint of asshole to it