Improved error handling

- Fixed crash if DLC contained any errors that throw exceptions
- Improved log output