Backtrace and interrupt

Picking the easy parts from #75