[Queue] fixed crash if more than one worker is opening an avs script


git-svn-id: http://svn.code.sf.net/p/megui/code@2425 a21b8521-4df1-4ed3-b48c-cff5bc73dcb3