DefeatScreen now dispatches GameEvent.GAME_OVER so the player's score is saved even if they don't return to the main
menu. upgrades must be purchased before working in game and will work after purchase. renamed some functions.