Better handling of empty/non-text pastes

Now makes only one clipboard request per paste