small improvements in distribution plotter.
Cleaned up the network dir.