Bug fix for running a script when launching the GUI.
This was completely failing. Now the script is executed prior to the launching of the GUI.
Authored by: bugman 2012-06-08
Parent: [r16754]
Child: [r16756]