Get undo stack working (arbitrary jump).