Change debug output methods to render_*.
Isolate renderer class from engine class.