added multithreading, area lights, and improved refraction