Improvements to CV, rank based on similarity
Changed CV debug window to hide, not close
Put in guard against issues with first frame