I2C Master write now handles the completion of a stop.  Also completed very basic error handling.