IText copy/paste fixies

@kangax , @Kienz , what do you think about it?