some fiddling but is still not updating the NSMenuItems while running