BUG FIX: memory leaks of OpenCL Events fixed
Minor changes