updaing main_window menus to independenltly create and destroy items