cmdwidth fixup moved to g: var
Got rid of scoring
Added duplicates filtering