Solve various (if not all) issues with menu generation.  Now submenus appear when they should, and everything nicely collapses when you expect it.
Solve various (if not all) issues with menu generation.  Now submenus
appear when they should, and everything nicely collapses when you expect
it.

zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb