make searching multithreaded; set parent relationship for all threads created in the whole app;