fixed mdisubwindow destructor so that widget and subwindow are deleted together