Refactored renderer.js -> ui_renderer.js

And a bunch of changes to pieces of the app that integrate with the renderer