Multi-threaded windows version complete