Added diameter droplet selection and fixed

a few bugs related to reading images from avi