types mismatch fixed; modern Obj-C; explicit comparisons;

modern Obj-C for accessing arrays;
fixed types (NSData/NSMutableData) mismatch in executeAndReturnStdOut:arguments:withMaxStringLength: method;
NSUIntegerMax used explicitly in executeAndReturnStdOut:arguments: method;