Fixed some small bugs in reachLevel() and openDoors()