Updating traceback support to work with python 3. Untested for python 2 but tried to modularize the support some.