Added GraphicsObject base class for classes which should always be disposed along with the GraphicsContext.