Added UI support
Added joint protocol - cleaner code when dealing with joints.