Don't manage unmanageable windows.

This prevents us from considering hidden windows and things that shouldn't be in the focus loop. This should fix that bug that the fix for #27 introduced.