Input and template files are now remembered

Input and template files are saved using QSettings.