- Add some debugging code to print incorrect formats.
- Fix "long" formats which in magic "long" == 32 bit, which is not
  what "long" means in "C".