set loglevel at OFF
delete_template page expects a name parameter as well, fill this is and update check to look for deleted template message instead of lack of template name
briefly suppress db warnings to stop commit ineffective with AutoCommit warning messages