Cleaned arduino folder and made the arduino Master handshake more robust