begin move to xcb
port xstuff to xcb, with wnck in some places