add reference counting to download window

(0) -30 -10 -1 +1 +10 tip

mercurial