loop while the folder is not created
if any OSError occur (rights error for example), display the reason
if the generator destination folder does not exit, create it
if any OSError occurs during the export, display the reason
thread declaration and name fix
Merge branch 'temp-folder-generation-bug'