I noticed a potential problem with the IRC Chat button.
After opening the IRC Chat window, I was back in the main game window playing, then wanted to check the chat window and clicked on the IRC Chat button again. (I could have used Alt-Tab but I had many windows open.)
Clicking on the IRC Chat icon when the chat window was already open forced a familiar pop-up alert asking whether I wanted to close the window or stay on that page.
The first time I clicked NO (do not leave page) and the game window closed while the chat window stayed.
The second time I clicked YES and the game window closed again.
Is it possible to add a line of code, a Conditional statement such as:
. If IRC button clicked AND IRC Chat Window Open = True Then Chat Window receives focus.
The idea being to bypass that pop-up which closes the game no matter what you do.