Some work allowing a track to be specified to a doctype and inclaims combination. Also some improvements to the histogram allowing setting height and colour.