Switched from keystrokes to menu items for insertText(), setWindowViewNormal(), and setWindowViewCollapsed()