Minor fixes

Fix bug when opening a game twict
Fix games not saving