Fixes for duplication in arrays and clean up of GUI conf