A clean way to stop the game through a command or something. When you close 1 window make sure to close the other window too.