Fix initialization problems.
Fix JointList iterator.
Fix selecting for dragging.