Makes undoing an opt-in feature. Default is Yes.
Clears the undo manager after pressing the right button
Clears the undo manager when resigning first responder. Also, fixes the undo manager displaying undo/redo options when there was nothing to undo/redo.