Minor bug fixes in sending and uuid conversions.