Created constant value for the UUID string buffer length.  Added return value checks to all malloc calls.