add destructor for mainwindow so that the last MimeInfo opened in messageview is...