Update the cut and clipboard functions. Remove some deprecate msg.