Solving multithreaded raytracing issues with C++11 | Hacker News Reader