Fine tuning of search process.

I altered search so that it is now case insensitive, and inserted an
error message when no results are found.