Dang, that's scary! In any small car, you gotta keep back at least one SUV-length, keep one eye on the driver, one eye on their backup lights and your fist over the horn button!
I've been almost hit by so many stupid SUV drivers - usually lane changes - while driving a full size sedan!
I've gotten in the habbit of driving with my lights on all the time.
Glad you weren't hurt!