Add configuration option for multithreaded rendering

Compacted shader uniforms. Update comments.