Removed some specific console messages and fixed game end logic.