Cleaned up sync bugs.  Added Tracing.