Snapshot, auto-upload pretty much working now.

Needs more work around the edges though, especially initial state/config synchronization.