[solved] Editor crashing - seemingly when I enter a certain amount of text?

PS - I have also discovered that run_file runs the code in question in its own thread, which means that the rest of your code will proceed as it does so. This can lead to timing errors if, for example, the external file contains variable definitions that your main code needs to reference.

It seems that eval_file works the same, but evaluates the contents of the external file in the current thread - so it won’t proceed until it is finished. Perfect!