added a debug draw mode to dungeon