Finally fixed all Windows related bugs...

The progress dialog got some improvements, too!