recordFrameNum is now incremented only when a frame is added.