Implemented singal and slot mechanism to communicate between the thread
and pyQT4 GUI (main thread). This is done for fiwalk and qtree thread only.