Made the profiler actually track everything and put everything into a
profile.stats file in the directory the program is run from, sorted by
cumulative time in a method.