Update menu item titles to reflect if window is visible or not.