Add support for turning debug output on and off.
Add support for monitoring the debug messages from the arduino.
Use sys.stdout.write instead of print for the "progress dots" to put them all on the same line.
Some whitespace tweaks.
correct a bug in driveScale which gcc was warning about