fixed template window cancel button so that it wont save changes
disabled template change button in config window while template_change action is still running
added a data loss warning to the change template window
fixes
Merge pull request #743 from t-gerhard/template_fix

Template fix