Added a fix for photo importing photos. Cannot run two import operations
at once now but user can still browse around the program at the moment. So
far from my playing with it I did not get any bugs. We shall see if the
tester finds any.