Fixed bug with AndCapture functionality in soapauthorize.py. More TMS Gui functionality.