Fixed error channel problems. Reset handling improved. Minor fixes.
The sscanf with %hhu on Arduino Due didn't work, using unsigned ints instead.