Updated files from Ben.
Implemented checking for blank search term.