Finished render system overhaul.

Closes #42