Fixes for mscash2-opencl. The existing code was bogus in several ways.