make comments on clipboard functions and fix some error. Protocol messages strongly modified!!