x11 cleanup