Many changes and bug fixes for the dungeon.