Various improvements

- History written back
- Plot from workspace
- Remote REPL completions
- Editor: Tab problem solved