Replaced pthreads with native Win32 threads ; removed -lpthread from linker flags ; removed unused includes in some WinGDI classes