add before/after, and run app from __desctruct
Merge branch 'master' of github.com:wkjagt/WebGlue