fix valign of product fields
Fix determining of current template name if process() gets a reference to Template::Document