Switched to cheerio for parsing of DOM. Other enhancements to limit memory leaks.