Change header and pages so each page has its own title.
Whitespace changes, and collate a couple declarations/first assignment.