rigwp() helper function now returns the rigwp global object.