Error handling improvements

- Display error in loader window if a configuration can't be loaded
- Better handling of system errors
- Store embedded XML files copies separately in source code