Hide menus based on active editor: intermediate version