Massive update from master: download progress, save and restore session.