That it segfaults on drag-drop, but not double-click in a file manager makes it seem like just changing the order of some operations could fix it. Like... double click opens the doc first then kills untitled, but drag and drop kills untitled first then opens the dropped doc.