bug fixes for windows 7 64 bit
the process is launched on another thread.