getSavedFrames() and updated sample.