In single page mode, page (i) is followed by page (iii).
Also, scraping logic needs page (iii) to be page (iii). So,
we should check if there is a page 2 before advancing to page 3.

Also:
 - remove some needless whitespace for \lhead, \rhead logic
 - 'myheading' style was in two places; found which of those two were actually useful and removed the other.