Fix start_server
Add modes controller:

Now you must install modes like this:

editor.modes.install(XXX)
editor.modes.uninstall(XXX)
editor.modes.uninstall_all()
editor.modes.get(XXX)