factored out the editor ui rendering
pulled out the scene rendering into a function
broke out the grid rendering into a function