Add real-time update for DownloadTaskDetailDialog.
Do some small fixes.