Added decorator for profiling individual functions, improved Tracer code a lot.