Some progress on opengl state save/restore; if you open RGUI on a non skipped frame you can see the game image behind the window. Not sure what's up with the black square in the lower left corner