Fixed a return value in image_add_datastream to FALSE, and fixed a coder issue.