Good catch on not checking null displayKeyStr and appending a tab character in the original code.