Fixes have been made to show/hide the menubar when the "Show Menubar" checkbox is selected or when Ctrl+M is pressed. (cherry picked from commit 0fe6f50d)