Sub DeleteImage(img)

Removes an image from memory