fix to make the DLL work with multiple Sublime Text windows