improve code for cpu instruction debug log print.
bugfix for ppu background scanline rendering.