Timing fixes

As discussed in issue #6 this involves adding a delay() function to the serial port and inserting a 170ms delay between calls to stop() and start() in the Device::C class.