Mini Profiler and fast stack update, resolves infinite loop in flame graphs