Added missing App:gameEnded() calls and removed my debugging print () statements