Fixed some ST3 issues on Windows