* Clean up some useless debug and improve some other to be more
meaningful.

* Fix (another) bug in the uuid mess. Linux' uuid_unparse doesn't
allocate any memory, unlike our uuid_to_string. Work around it by
using a temporary buffer and then copying into the final destination.
The compiler has been warning me about this one long enough...