work done on getFrameform() and getStateNode() in parse.h