Sometimes when you click Add->Immediate Action in the script editor, GE will crash and close.
Although I noticed something that might be of help, it seems the script editor actually gets redrawn (Without any transparencies in it) instead of being erased.
Thanks in advance!