Updated gfuns, grefs, gsets, and mvcode