Updated tracer to use ConcurrentDictionary under .NET 4.0

Improves thread safety.