Thanks @BikeSnob. I didn't post the whole thing but he got caught at the light and I was about 100 yards out from catching him. He saw me coming and decided to turn right before I could catch him. I always take the lane now.
Holy crap that was a close call! So glad you are okay, I really wanted to see what would happen if you caught up. Advice for next time that I'm sure you already know, if you take a center position in the lane motorists may feel less inclined to squeeze into a space to overtake you. @swissjar