fixed calcTimeOffset
display the start time of the segments
alternative way to check for shifted keys, redraw after all keypresses