Fixed bug where color plugin would not work when there are dummy vertices.
Also added the option to color edges by averaging source and target colors.