Merge pull request #1265 from am11/master

Minify: Don't freeze UI (#1142)
Code: Uses DoNotWait to avoid crashes.