bug fixes when cancelling download right after it started etc