Retouched renderer and renderer events.
Merge pull request #228 from xi-project/renderer-retouch

Renderer retouch