Wavelength variable is always set to default
The wavelength is definitely not read from the GUI setting, and some testing with the Python interface suggests that it is not read at all, and the default (2.67 A) is always used. The latter may be a problem with the Python interface, but might also be indicative of a bigger problem.