Fixed clipboard pasting in readonly files in edit.
Fixed crash for too large clipboard - was slightly too optimistic there. Now explicitly forbidding > 64k messages and splitting smaller ones int 16k packets just to be safe.