Fixed bug in download.java, dowloads images and thumbnail to the corresponding g  directory.
Fixed bug in download.java, dowloads images and thumbnail to the corresponding g  directory.