tasksGUI: fix UI bug where existence of menu items was not checked.