Corrected string interpolation in title.
Make sure that a failure doesn't give an error.
Moved http request into it's own function, since we need the result elsewhere
Added page count parsing to threadParser, as part of a mission to remove globals.
Pagination now handled completely within showThread. Somewhat bodged.