refactor SaveGames, add failure handling and better logs, #18