Fixed missing exposure control from Makefile. Added a 'clean' target
Refactored exposure control to better match with coding style in dotdetector