Issue #17: added custom display element; also line width parameters