Tidy text on error pages
Allow deletion of templates