refs #441 - avoid NPE's when no menus