fix template exception; remove print
tweak web app sample
Merge pull request #1170 from devoncarew/devoncarew_template

Devoncarew template