more comments and fix for Arduino IDE 1.x, thx Paul