Added a method to get an UIImage of the last appended video buffer.
Added ghost mode in the sample.