Yep, that's how it works, that went exactly my first "LD." It's when you wake up before you even realize what happened, I bet you were rather pissed when you woke up . So yes, it sounds like you were on the right track. Keep up what your doing and you should attain Lucidity in no time. Just remember you need to stay calm. Rather than, right after becoming lucid, going crazy and fulfilling every fantasy your insane draming mind can think of, just slow down and go with the flow. Also it doesn't hurt to go to bed with a plan of what you'll do when Lucid