Fixed a copy-paste error in createCommandQueue exception message
Fixed enqueueNDRangeKernel argument validation; also made localWorkSize optional and default to null