Print the URL the bot is about to visit.
Fix title matching (didn't work for imgur.com, for example).
Strip whitespace off the printed title.