New codemirror. Editor fixes