fix calculation of new raster signal.
implement rudimentary RLE scheme for video data.