+ Refactored the main level loop, so it fits better with the ending sequence of the game.