Filter windows before actually acting on them
Fix multiple issues with atom retrival

* It's _NET_WM_WINDOW_TYPE, not _NET_WINDOW_TYPE, stupid
* xcb_get_property_value_length returns length in bytes