Fixed few bugs in Photo Uploader.