resolve race condition when scan progress was canceled
show complete window at once and get rid of the nasty loop really slowing down the dialog