A bit of work towards getting editors closing nicely with the application.  Now it hangs on the sequencer background thread, waiting for it to close; so it's not solved for now, but it's progress.