Move render to it's own thread.