Changed so the null check in isWalkable is done earlier to prevent crashes
Put some more work into making sure hallways has walls and cleaned up the code some