Mostly improving diff_alt and adding ret_except in pdb_on_err.py