No longer exit when logger thread is hung. Some more cosmetic changes.