add some debug output, fix image names and times

* add some debug output
* use time from kernel image (requires File::LibMagic
  and unpatched Magdir/filesystems!) to save build time
* fix wrong image name used to apply