Add commands to file menu; use list of widgets to clear