simplejson, downloading photos, fixed bug with messages