Added ability to pick line segments.