Improve long traces. Make done trigger long traces when monitor enabled.

Incorporated ideas from @garyyao in #281. Thanks!  Makes for much more
detailed traces without any significant cpu/mem hit.