images: Remove debug output from Java implementation
images: Set frame duration in Java implementation

Also fix a typo and add a check to handle the case that no images
are available.
fire: Add Delphi implementation