fix sql types init
safer sync when taking photo
store new photo in temp file
buggy saving of new pic in /tmp
qturntable now handles a list of folders
adaptated for replacing photo
fix init order, remove debug
fix multiple load of same costume
fix various warning