Some tweaks to the git bits
OnMassModified doesn't need oldmass

Minimal change