fix filename of dll
re-enable logic to display progress bar only if it is taking a while