Added the RenderManager class.

This also implements multithreaded rendering.