Start to implement check code in InitDB() (ref gh-12).