Given the situation, I would say you have a fun evening with some friends. One of whom happened to be an attractive young woman. From what I read, I don't really think you went past any lines, though you might have been able to see them from where you were!
I will say this... a little validation from a lady does a lot for the PMA! I have been stepping out of my comfort zone, and the results have been a bit surprising to me! I haven't kept up with your sitch (I've been trying, no real successfully to wean myself from the boards!) but perhaps there's a way to spin the self confidence into the your interactions with your W.
I am not a supporter of the jealousy card that some think is a good idea. But confidence and a bounce in your step can't be a bad thing.