Finish replacing mutex lock for update pending with atomic bool.
Move GLSL #version defines to top of files for OS X.