TeX Reader: Further improvements to error handling