Minor bugfixes, improved download tracking.