Fixed multiple bugs relating to dungeon corridor placement and generation.