Fix tabs and other issues in convertGUI.py

Other issues fixed:
- pi was hardcoded and never used
- e2cm had been mistyped
- blank line usage was inconsistent

Refs #10162.
Merge branch 'bugfix/10162_tofconverter_gui_is_broken' into develop