Delete texteditor views and documents right in-place, instead of moving the deletion into the event handler. This fixes random crashes in the event-handler, accelerator-managers, etc. when switching working-sets, and makes working-sets safe to use.
Random crashes need random fixes..