cleaned cruft in withMenus.R & fixed minor bug.