Updated code with a ring buffer of screens. This makes it possible to build up a small replay buffer, which can be used to make stable playback even though the network has jitter.