fix compile errors
nonblock, timeouts and resync for ArduinoDue USB serial
fix issues in pull request feedback