cleaning up error messages
improving error message
image_upload has been heavily reworked.

Previous behavior was wrong so this has changed. previously the image_upload method compressed files before uploading.

This is now optional behaviour, and occures for gz and bz2 formats only when teh aptoptiate variables are requested in the imagelists referance to the image
add/fix bz2 support
merge of code