Don't close main window when game is running. Fixes #528, partial fix for #521
Added a modal when trying to quit while games are running. This fixes #521
Merge remote-tracking branch 'upstream/master'