Add diff command.
Rename readNewList -> filterNewKeys.
Wrap mutable global in a type.