Search modifications
added better event handling
wait timer added in the case search does not start or return in 10 secs