Don't try to build empty files

- skip empty files in bundles
- skip stand-alone empty files
Prioritize data included in the header of a file

- data loading should work from outside-in
- distant data files are overwritten by local variables stored in the
header of the file
Update modules to latest versions

- speed improvements
- minor improvements to test cases and debug output