1822 script param fix dev 4 4

This PR replaces @joshmoore's PR of the same name #55.

Ignores images where sizeT = 1.

To test, draw a line on an image where sizeT = 1 (not a movie).
Run the kymograph script with this image.

--rebased-from #56