fix netwmnumberofdesktops, other ewmh improvements