Working exception catcher + profiler