a couple of little fixes

Hi there,

I just used wpstatic to archive a very old wordpress site that was becoming a comment-spam target, and needed to make a few little tweaks to get the script to work.

Thanks,
pix