#gamedev progress:
I've did a larger refactoring of the "level" generation in order to allow infinite levels. Each room is created individually and on creation a number of corridors are created. Each corridor has "portal" at the end connecting to another room. Rooms are only loaded once the player enters a corridor. This way only two rooms have to be loaded at a time.