ignore empty search terms
relocate the beep

and return something right away when the search is empty
remove the unused encoding parameter

When it came down to it (in resolvedURL:forString:), the encoding
variable was never used.