Specifically, I'd prefer to avoid having low-level code emitting cross-window messages. A better way to do this might be to have the context maintain some state from any operations that were performed and the FS can process the context when it becomes closed. This would mean needing to explicitly close a context.