Some protocol changes.

The protocol of sending ready and unready is simplified. Changes are
also made to the starting process. And some other minor changes.