Switched code view to use CodeMirror instead; redid layout and hopefully
improved slightly.