Setup terminal editor
Converted terminal lib to use chrome local storage