Store program depth in endProgram action
Clean up indentation in templates
Merge pull request #64 from mmun/pretty-print

Pretty print templates