created new thread for sending queries to search engine
some optimisation
added a dummy run option to MainDownload