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

Pretty print templates
Morphs are now always created via a dom helper. Add node based create