Just to make sure, don't use F4 in any keybinds. Just in case there is a sticky key situation and alt-F4 is getting triggered.

At least 2 times I have done this and closed out one instance of wow because I am a dumba$$.