Various changes to the tiltometer code.