Template fixes. Chat in the template.

The chat now lives within the page as prioritary, till I find a better place
for it.

g