- Fixes to allow code to compile under Arduino IDE
- Fixes to allow code to actually run