- Add option to export database
- Improve error reporting