BUGFIX: Extra spaces at the end of returned results.
This revision compensates for a bug in AutoTools. If you select the last item of a List Dialog, its value is always returned with an extra space at the end. This was causing problems with text matching. Added actions to remove the extra spaces.
CAN'T FIX: The last app in the dialog has the wrong app icon displayed.
This is caused by an extra space inserted into the last element of the %alicons array by AutoTools. I have no control over this