Changed iFrameGlobal Bug

(not totally sure on these changes, matthias)

iFrameGlobal returned a vector instead of a scalar, and also did not
correctly handle movies with different numbers of frames in the same
acquisition