Just writing to give my kudos to WorkerPool. One of the import processes for an app I'm developing was taking a really long time and blocking the browser, so I used WorkerPool to pass the string to parse onto a separate process.
This process takes the string & build a massive list of SQL statements, while the user can work away with the UI. Once the process finishes, it notifies the UI, and the UI blocks for a few seconds while those statements execute on the DB (the DB object sits on the UI thread). >From about 3 minutes to 3 seconds delay for the user, thanks Gears! Chris
