integration time and number of samples can now be set within gui