add a title to the html output and the document object
ammend the text and add some mitigation of timeouts