Fix EZP-20752: Monitor page is not updated

# Description
- Monitor page is now updated while the script is executed
- The batch deletion processes element by 500 instead of 50
- Added some cli output to help debuging
- Very minor CS fixes

I hope this is not too much CS included with the fix. If it bugs you I can cancel it or put it in a separate commit.