Exceptions from scanners are now caught and displayed in scanner report header.
Refactoring: decouple some code