Fix scrollbar and various enums for Gtk3.
Fix exception on broken pipe.