Adjustments for new gtk/vala, new gnome-control-center, MT events, RandR events
Access Xlib from only one thread (solves deadlock when receiving
signal), use proper BOOL