Improve warnings; fix const_db.txt bug.
Improve warning management more
Make incoming packets read-only