This is similar to the previous commit and replaces manual calls to DecRef() on the renderers/editors with the use of smart pointers for them too.
This is similar to the previous commit and replaces manual calls to DecRef() on the renderers/editors with the use of smart pointers for them too.