Hey Mark,
just took the time to dig a bit...looking at the doCompile handler:
        errorDialog theResult, the cScriptErrors of stack "revGLX2 code"
the cScriptErrors of stack "revGLX2 code"  is empty. 
Thus throwing the error dialogue fails here. 
All the best,
Malte