Image functions now return appropriate error codes.
GL functions now return appropriate error codes.
Changed free() to delete where necessary.
Implemented clGetKernelArgInfo().