Added a bit of display error checking.
Added a default setEventRate to accelerometer.