put back changes, added example for long task processing without ui freeze