tabs to space formatting. More register masks added. enable/disable gyro/sccelerometer args added