remove more dead code, handle bus errors
this code sorta works but for some reason I see NACKs when trying to write to the accelerometer