Updated renderer to derive from scene object
Updated code to use new event API