Render complexity

Breaking out some of the actions in #render to reduce its complexity.

Please let me know if you prefer an alternative approach to the way any of this was broken up.