Accelerometer code cleaning; background resizing testing waters.