How do I change available menus in the mainMenu bar?

@krassowski
Thank you for the offer of help. As I have limited time and have figured out how to make menus programmatically, I am going to ignore the schema method for now. I am on to my next problem. Which relates to CommandLinker.

Once I get the things I need working, I will revisit schema menus. I might then have more specific suggestions for inclusions in the examples.

Thanks,
Jonathan