Add implied tags to default HTML template
remove dead code
fix bug in Page::attach
in progress work on client app init