auto hide the toolbar when not selected (focussed)
add undo and redo
fix language span highlighting so surrounding text doesn't wobble