Translate APE and SPAM to QGL.

Also, use full path when calling python scripts in case the current folder isn't
on the path. I added '-echo' to the system calls to try to get python error
messages to display in the MATLAB command window.