Fixing various backtrace recordings.