Refactor startSearch to call search only in 1 place.
Lay down some plumbing for worker thread.