Gfx: Refactored GDI+ interoperability
Replaced GetGraphics() to BeginGdiplusContext()/EndGdiplusContext(). This makes it possible to avoid calling the D2D render target BeginDraw()/EndDraw() functions repeatedly when using D2D to draw multiple times in succession.