More win32 error checking
Add Win32 dongle detection code