Improved load/save of domain files and UI of this.