Adding dispose method to Graphics class

To address issue #32 - Adding separate dispose method to graphics to
maintain backwards compatability