minor cleanup
add settings

New settings: defaultEdgeLabelColor, defaultEdgeLabelSize,
edgeLabelSize, edgeLabelSizePowRatio, edgeLabelThreshold
tweak edge labels font size

The font size is sublineraly proportional to the edge size, in order to
avoid very large labels on screen.
add labels for curved and curvedArrow edges