Reverted the code which moved the generation of directory structure to outside
the thread. Since directory generation is also a time-consuming process,
it is good to keep it inside the thread, so spinning will continue as the
tree is generated.  With this, the logging code seems to have some issue
(caused core-dump randomly). So commented out the logging code for now.
Merge remote-tracking branch 'upstream/master'
Merge pull request #93 from sunithamisra/master

Reverted the fix for warning-removal (Thread and QT4 related)