I would give Arduino IDE 1.0 a try, the newer version seems to have other issues with my code (like dns)