Fixed some stuff, mostly interface code. Started work on the dungeon generation algorithm.