Added ability to save a snapshot of the current frame