(Imported from the bug with the same name, since it is
actually a feature request)
Currently, the Menu management of MainFrame stinks. A
MenuManager should be developed to keep track of which
element registers a JMenu on the bar, or in another
JMenu, and what it's parent is. Should allow
JComponents to be added to the parent menu, not just
JMenu or JMenuItem.