It looks like I wasn't properly resetting a variable, so a selected script could be inadvertently carried over out from a previous resource that was edited. I'll include this fix in the next update. Thanks for the report!