Add configurable tick marks

Adds control over the line width and colour of tick marks.