[tests] fixup functional test runner to close child procs (GUIs)

also allows expected failures in GUIs when PySide is missing
[algorithms] fixes error in gram_schmidt call