1) Improve heuristic for percentage of bad pairs which triggers local reassembly.

2) Restore synchronous logging when not running multithreaded.