Messing with level spawn system.
Found out the game doesn't crash anymore when it runs out of levels to
generate.