Update HTML adapter to accommodate top results

The HTML-parsing version of the health check wasn’t taking account of the top results list or the updated tab IDs in the markup.

Also add a few new configuration flags in the script which were helpful to me when developing and testing.