Added an event listener for the accelerometer.
Cleaned up some warnings and added the sensor list back in.