Improved I2C Master error handling.