fixed uninitialized data in gps_time, changed servo_switch to use the new termianl settings function