Rewritten Undo, Redo fully implemented