fix blocking when upgrading db to v19
Change country flags to fixed size 16x11.
Add checks for country flag image size. Add warnings.
Merge pull request #396 from LipuFei/fix-flag-size

Change country flags to fixed size
Merge pull request #395 from LipuFei/fix-dbv19-blocking

Fix blocking when upgrading db to v19