add the handler to remove the single image
add event handlers to remove a single image and remove unnecessary code lines.
fix bug with the upload image status and add the buton to remove the individual image
clarify some comments