Various error checking implemented, skip pages that we can't index archives of, make each log start fresh.

Forgot to mention, but last commit actually should have made the bot operational for all talk pages. If this code is run, it WILL edit thousands of pages.