Almost have block-defect done. It detects and determines which line numbers to delete. Now just have to finish deletion.