Stopped printing errors
Modified so it ignore ignored directories much earlier
Turns out, I have image files with the same filename! So, added the set_id to the photo table in the db, so it checks for a photo IN A SET and not just a filename.