added jointlines.patch to visualize the skeleton by points and lines.