Added rendering thread.