Fix cleanup on exit and wrong setting on Backup dialog.