Added move limit, undo limit, and corner mode