Fixed minor bugs in GameMap.
Made some more var definitions in dungeonGenerator.ts