Fix removal of codemirror events on hide, .off requires a function handle to properly remove events, jquery removes all if no function is specified
Change color of / search to match brackets highlight
General cleanup and refactoring