%t and %h formats now correctly handle case of thread name or host name NIL