filter windows by isNormalWindow(), fixes #51