fixes for automatic shutter flag control
added documentation