Major changes to Accelerometer handling