Hiding code for a bit
Relocating current scanline generation
Relocated redundant code