bugfixes: building without gui
fix for problem with +100 keV detector convolution