Searching now uses a seperate thread as well