Changed editor component to CodeMirror due to too many problems with Ace