Added Checkpoint states, allowing a routine to save positions and then return to them later.