clean up and minor bugfix for mscash-opencl