Need to reset the array keys after unsetting some of the entries so that $usernames[1] always gets the second entry.
Longer README.
Plugin repo-compatible readme.txt
Screenshot of an example imported chat.
Updated README.