Glad you are still kicking...sounds scary!
How about one of those remote control shock collars? That way when you get up you can just hit the button and know where the dog is, and you don't have to tip off intruders with a glow in the dark collar? And you can feel better about what you just went through ;)
I ran smack full body into the edge of a door left half open (by me) at night...but that was more of a stun than a pain...