Clear input field on click if search was sucessful

This makes it easier to do multiple searches, while allowing the user to
correct inputs that didn't produce a result.
Update input field with the actual search term

In the cases where we need to fudge the input, update the input field
with the term that was used to perform the search.