Parallelize rendering loop using the rayon library.
Update dependencies
Misc. cleanups