Reformatting and commenting for readability / marks
Commented, and added removeImage method