improved error handling on PDBFileReader
improved error handling on DoBFreqCounter