No longer showing menu items with no label, and added option to provide
a 'shown' function to control menu item visibility.
Now when logging is disabled, all unsaved changes are discarded
during undo/redo.
New 'presentation mode' which disables session history recording.