Made detection based on filename, rather than kernel name
Actually calls the OpenCL_free method on closed OCL windows now