moved currentsearch instance variables into same thread.