Fixed bugs in tracking thread start. Enabled tracing as early as possible.