Finished render world implementation. Fixed some shutdown memory leaks.