Added onOutputChanged events to GPrimitive and GElement