set name of monitor thread (#1669, #1752 <- #1435) fix monitor thread atexit deadlock (#1751 <- #528, #627, #1435, #1564) docs: minor copyediting