Change lighting range to 4, clean up dungeon generate code, fix bugs where doors were placed illogically