Adding dispose methods on renderer and plugins to allow WebGL and system memory to be cleaned up