add packet key counting and sorting
rename ct to chat, and add chatr per-channel tracking