Fixed get/set gain
clean up
fixed get/set gain
handle spaces in detector names
updated logging
Merge branch 'master' into develop