I hate it when that happens; I have a light in a valley on my commute home that, if I'm riding smooth, I cross through at 31mph just as it turns yellow. It's caught me off guard a couple times, though, resulting in quick stops and dirty thoughts about the uphill on t'other side (and the city planners...). Only once have I blown through it (by accident), and I almost got run over by the bishop's wife. I think she still doesn't know it was me....
Glad to hear you're all right.