mostly finished header search update
functional search
weird levenstein error, but otherwise updated