Fixed #1717 with a brilliant LevelLoader refactoring.