Fixed the rig config and protocol change notifications
Fixed module ref loop