Try to clean up dungeon generation code a bit. It' still a pile of garbage though.