OpenCL bug fixes and tweaks.