Add length arg to gtk clipboard set_text which is mandatory in newer GTK versions

* add -1 arg to Gtk.Clipboard.set_text
* remove spaces from empty lines