Fixed: Tracelogs didn't include start and stop records.

Also, cleaned up some logging and fixed an intermittent spurious test failure.