Adding saveBackup to MainWindow, used to save backups of file before compiling.