Cleanup HTML; add way to modify pagetitle