Add backtrace capture

Smallest pull request you've ever seen