adding bits and pieces for thellier_gui integration