Merge upstream win32 fixes
Fix array index issue on WIN32 when unable to connect to the serial port
Pull in commits from maurerpe/repsnapper master branch