Adding in a bunch of debug code to track down why inexact match with 0 mismatches and exact match are disagreeing on a test case.
Fixed issue with not attempting to restart when needed when using 0 mismatches.