Undo and Redo functions

Allow users to undo any actions they take in the main software interface or modules.
Press Ctrl+Z to undo or Ctrl+Y to redo.