Added album uploading, fixed a bug

The bug had to do with failed deletions; if a deletion failed the code
would enter an infinite loop.