Bug fix for <apps> menu when nothing is defined.
More changes to the menu