further cleaning after new GUI civ. A general function read_GUI to read parameters from a GUI is used in civ