Improve HtmlReaderPlugin logging and code cleanup.