Updated GPS state machine.