Factored out tracer-context parameter in all functions

Removed the tracer-context parameters in all functions dealing with the tracer-context struct.
Instead, these functions are all directly applied to the global-tracer-context, which is destructively updated