more tracing, fixed memory leak (cl_event), changed grid layout (from 2 to 1 dimensions)