changed to rendertarget2d

instead of texture2d for the final image we are calling the
rendertarget2d and opennextframe.

but opennextframe is always null < fix that.