Renderer can dispatch resize event.
Little renderer events refactoring.
Better terrain processing for non-existent terrain node.