Fix calculation of checksums for some packed objects
- Some of the packed object structs had padding so checksums were undefined.
- Added custom functions for these (going over all members)
- Added a simple compile-time protection to fail compilation next time packed objects are modified.
- Compute checksums per location and improve debug printout