Update encoded pointer before checking for additional values
as found on the net
Better error message, refer to mods-enabled
remove tmpl_names it was a less complete duplicate of template names
template_names should really be tmpl_names and should be in tmpl.c