Quit command added

After a long amount of time, I finally got the quit command to work
properly in game and in menu.