Work in editor

Fully working in-editor mode, replacing #178
Not saving state between restarts.