Made the settingsDialog work.
Now when changing one of the values it actually influences the analyses
of the image.
Great!
Still the values don't get reset when closing the window, needs to be
fixed.