Undo and Redo commands now using "getMenuShortcutKeyMask()"