Changed warning log colour, added functionality to clear the renderer from
JavaScript