Save state if some tasks have completed
Improved flow
Implemented the plugins system