Updated all OpenCL framework code etc to be consistent with latest Tea leaf version