Editor can accept new file without crashing

Hi, this enables to execute load81 with new file as parameter.  Before this change when you hit ESC the editor was trying to access the filename and it was null because 'editorOpen' returned before settings the name.