Don't use finally in the operation that initializes the editor

Trying to call endOperation on a half-constructed editor will never end
well, and the resulting errors will mask the actual error that happened.
Add simple mode addon