-Refactor to make modes render themselves rather than using a shared
debug renderer