As a result of moving getEditor into its own module, it doesn't have access to window in the call to filePicker.init anymore, which currently makes it impossible to choose an editor via the UI.
Steps to reproduce:
Expected result: File picker dialog to choose an editor opens
Observed result: Nothing happpens
As the docs say, the first parameter to filePicker.init has to be non-null, so I have no idea if there's a better fix than to just pass window through every call to openInEditor and getEditor.
Ah, missed util/getBrowserWindow.js.
Fix getEditor() module.
Both "window" and string bundle references were broken.