Cleaning up pdb_on_err.py - Now it just needs some docstrings...