* Fix for not printing syntax error when running script from the text editor, and crash on exit. Campbell, please check if this is OK?
* Fix for not printing syntax error when running script from the text editor, and crash on exit. Campbell, please check if this is OK?