Corrected IsDeadEndOrCorner, added OpenWorld and WorldWithCross