Added ability to search for selectd text, as well as whole words