fixed many problems with the dc wp plugin photo import