Added image validity testing - update restart for align frames