Step timing function editor/visualiser

Doug's changes

Simplified drawing of timing function

Fixed style things