Arduino 1.0+ Updates

Minor updates to make the library work with version 1.0+ of the Arduino IDE