corrected PolyLineROI.setPen() to modify individual segments as well.