handling non-existant class fields

Sorry for dirty commit. Messed by my editor.
Real changes at https://github.com/RealyUniqueName/bindx/compare/HxJointForces:master...master#diff-570c0d657a058ec04fc0a3a9a56e7d79R458