custom search directory in preference window.

1.custom search directory in preference window.
2.Searching work has moved to asychronous thread， 
3.add search indicator while searing.