Provide an option for the masked joints in the scriptable method, fix a couple
of annoying warnings.