Get frameAutosaveName from window rather than windowFrameAutosaveName as they are not the same. Compare to empty string as it is not nil anymore.
Hidden_Preferences
Auto-hide of Notes/Contents Pane in fullscreen and directly jump to search results
Hidden_Preferences
combine some common code
check for presentation notes document from show method
tableViews is not weak
never change side pane button when there is no alternate button