Added threadpool for lighting