enable current-context paths in sections; better encoding support for template loader; tweak whitespace handling in params