More refactoring. More namespaces.

Move printReport to namespace ReportPage.
Move all dom logic into TranscriptPage and ReportPage.
Cleaner click handler. More readable names. Better structure.