Made cookie timeout setting a little simpler.
Restructures searchengine lookup.

Fixe no more working searching for multiple search terms.