Added TASK_STACK_INDEX to tasks identified by RunningSoftwareProbe to
give some explicit guidance on the ordering of running apps.
Code cleanup, scripting function cleanup, 1.5.10 release.