Fixing formatting issues
Changing the mechanism to capture all not handled exceptions in the application.