fix #7 (again)

Fixes #7 in a different way. Previous commit fixed it when clicking "Exit" button, this one fixes clicking the big red X partways through a game.