Switching mouse-select fix for CodeMirror to route mouse-as-touch via onMouseDown.
Firefox fix, layout progress towards the search/create/open dialog.