Re-added duplicate frames (in Synchronizer). Also reference counting for AVFrameWrapper, priorities for sinks to reduce latency, video frame pings and fixed a bug in PageRecord.

Still needs a lot more testing, and frame rate throttling.