Refact GiGraphics.