make logstate.EngineTracer a singleton and add started() and toggle() methods to it

darcs-hash:20090407121853-b2873-b6eff2dce3863680b83649bf915b7a5929664ef4