Fixed first version of global search. Prefix search/autocompletion to be done.