resolves issue #13 (clean up GraphicsContext)