Core dungeon generation / visualization logic