Turn frame into a reference cell.

Up the frame when appending to the sample buffer.