push cpu-modified backbuffer to opengl and debug cleanups