Replaced debug.Stack with runtime.Stack. Added two new options to recovery.