improvements to syntax.py.q
some fixes
default_template.q