fixed image uploading
fixed event ordering
add creation downcase callback on tag, fixed char overflow in name of image