fix HTML (& must be escaped as & in URLs); escape query in the "more results" link; fix typos in comments