Various improments for stability

- remove development header settings
- handle known exceptions properly