demag_gui and thellier_gui small bug fixes

demag_gui and thellier_gui small bug fixes