Clean up

clientName is not needed
Use argv[0] as process_name in announcement to nms