handle and send messages in order
useful debug print
make push handling idempotent, sort pushes before hashing