Version 1.00: delete finished packages only instead all finished links
Version 1.01: code cosmetics