Error checks for parsing wikipedia dumps

Some error checks for parsing Wikipedia dumps and English wikipedia pages.