Minor changes and fixes:
Fix a synchronization issue so that the interface is blocked while reports are being saved. The previous behaviour was confusing because there was no way of knowing when the background production of reports had completed.