If you have an 0.9 install, to upgrade to 1.x, move all of your picture 
directories into the new 1.0 directory, and move .thumbs to gallery/tmp/thumbs
(watch that you don't change the permissions)
