Allow setting masked joints for each animation.  Fixed a couple compile warnings.