merging changes from eam_branch_20071015 (read compressed images, clean addstar I/O, other minor issues)