Add missing cs_main lock to VerifyDB

Fixes issue #4139.
[Qt] fix ugly typo in bitcoin.cpp

Closes #4145.

Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
Rebased-From: 1e4b083