fixed some issues with Gtk3 deprecation in 3.11+
fixed an out of bounds error in settings dialog