clearing the buffer and setting up word wrapping, reformatted how each
search result appears
code for decoding html entities and removing SPAN highlight tags from
search results buffer