Fixed bug loading ace editor in Lua Script Debugger.  Rapidly clicking through tabs causes references to be deleted etc and eventually causes an exception to be thrown.