fix bug in coloring streamlines

and sneak in a change to what is considered cyclic