Added one to the length of sent data, since XGetProperty is not reporting the null byte (although space is allocated for it as it seems). Resend format announces if they fail, with a small delay. Ugly hack, but it works..