Frame-wise check added to new SM detection. Log-scale imshows now have minimum offsets to avoid negative numbers