refs #7372. Further migration work to v2 of python API

Things appear to be running the same in this gui+script as they were in the old gui+script. I've done a little refactoring work, but the bulk of the refactoring work will have to wait, as there are many violations.