If you set a variable that is not valid (e.g. gamma = -3), the gui just crashes.
Solution:
A - Each time the user changes a parameter, pass this value to the camera and see if it fails. In case it fails, send the error message to the logger and let the user figure it out.
B - Set up rules in the GUI that finds the closest appropriate value to what the user tried to set..