Fixed clean(dir) in builder GUI not being called in the worker thread.

Also made Util.cleanDir() interruptible.