Add missing header
Fix memory leak in database migration
Fix invalid check for fread error on extracting zip
Remove lots of dead code
Add check for datatype overflows
use native datatype indices instead of fixed 16bit/32bit ones
Make flag strings clear specified flag with 'no' prefix

Remove flagmask field from set_mapgen_params table
Add small bits of needed documentation
Tune block emerge and sending parameters to more aggressive values