fix #582
protect against iptcparse failure
fix #584

At least the ones I found
serialize updates to the configuration file
Merge remote-tracking branch 'origin/master' into 1.4.6