make FastI2I.py thread-safe
fix swift process restart problem
no segfault window for swift on Windows