upgrade codemirror; add editor features (paren balancing and highlighting, indentation)