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.