Call MainWindow::~MainWindow()

In Pull Request #385 I wanted to destroy the QTemporaryFile in ~MainWindow() but couldn't as it isn't getting called.