imporve CodeMirror editor and other styles