Bugfix captured frames counting
Calibration frames should not be counted as captured frames. This leads to the problem when restarting flats capturing that the calibration frames are also counted and therefore the number of stored frames is too low.