Move initial environment selection to Raw_typer
WIP Update Emacs bindings to latest protocol