Greg, here's the one patch I send you already as well as a patch to switch to API 1.2.2.
I don't know how to remove the patch for HACKING :-(
I tested as much as I could, the only problem is that smugdown cannot download a file. No idea why not...
Sync to fork master
Merge commit 'smugcore/master'
Pass _su cookie back to smugmug.
Use API 1.2.2.
I've applied the patch you sent me by email to keep the hacking stuff out of the branches.