Added SceneGraphicTypes and graphicType method.
Other coding style improvements.