some simplifications to GSS, ResultNode, and StateNode