massive rewrite to use levenschtein distance heuristic, no column detection yet