Corrected logic all-blank or all-filled and finished program.