tmpDir variable used
each instance of the editor have now a specific folder in tmp to avoid conflicts on opened files
Merge branch 'multi-instances' - closes #14