Add some more debugging output for error conditions
Uncrustify threads_t.c