Better logic in focus-out-event blocking/unblocking

Now using the boolean variable instead of querying the signal state via GObject functions. This drives us away from [the bad bug in pygobject](https://bugzilla.gnome.org/show_bug.cgi?id=633927) that made mintMenu crash in Mint 13.