Add getState to StarGate