Making the dbcheck app a bit more general.
Updating submodules.