Few more tweaks to cmake.
Small NFF to test refraction.
Minor fixes (const correctness).
Fix rng to be thread safe.

* Started with path tracer.