fixed #159 added \r\n in copy-to-clipboard method