Added automatic paste/nopaste mode when pasting from X clipboard.