Fix for the execution locking when an auto-analysis is launched from a script.
The lock is not released and a new one acquired. Instead the mechanism is script, just as it is for nested scripting.
Authored by: bugman 2010-12-17
Parent: [r11863]
Child: [r11865]