Procedural level layout. Pathfinding fixes