minor improvements to the debug renderer