Don't block UI thread.
Merge pull request #2 from bcuccioli/master

Don't block UI thread. (SANE EDITION)