Better backtrace detection.