Changed heavy tasks to async, more responsive UI