The script user function is now executed in a thread from the GUI so that the GUI remains responsive.
Authored by: bugman 2010-12-18
Parent: [r11898]
Child: [r11900]