Change --ui to --core. Add --log debug option (fixes #7).

Also minor enhancements to RGBToTGA (java RGBToTGA $width $height), and
a bugfix in CifFractal.