Fixed typo causing bluetooth queues not to be removed.
Use Gtk main loop in D-Bus service (bug #1116756).
Don't set subprocess's stdout to non-writable fd.
Take the gdk lock before entering gtk_main() (bug #1052203 comment 24).
Don't try nested classes, as CUPS forbids it (bug #1140627).