resultsmovie bugfix. when user specifies maxnframes(1)==0, (no frames in results movie for first segment), existing code was failing due to a bunch of uninitialized state. State initialization depended on the first segment of frames being written. New code initializes state hopefully in all cases.
resultsmovie bugfix. when user specifies maxnframes(1)==0, (no frames in results movie for first segment), existing code was failing due to a bunch of uninitialized state. State initialization depended on the first segment of frames being written. New code initializes state hopefully in all cases.

kristinbranson/cbtrack_GUI,kristinbranson/cbtrack_GUI,kristinbranson/cbtrack_GUI