Count real number of shown databases
Upgrade to CodeMirror version 2.38

There is no real change (it was only in modes we don't use).