Did some reworking in the dungeon system.