Added proper quit function
Merge pull request #56 from bdickason/quit-game-fix

Added proper quit function