cleaned up rendering threads