Minor fixes in preparation for python 3.11 (#15523)
In preparation for #12064
Summary of the issue:
Certain types which are imported for type checking only are not correctly encapsulated by strings.
threading.currentThread() is deprecated in favour of threading.current_thread()
with Exception() as ex: syntax is no longer valid in 3.11
in wxPython 4.2.0, integers are expected for scaling sizes
in wxPython 4.2.0, using AppendColumn is preferred with our current syntax of adding width
Description of user facing changes
None
Description of development approach
Makes various backwards compatible fixes that become compatibility issues when upgrading to python 3.11