3.2 SDK exception on close

I changed title since the SDK seems to be the problem now, I had some problems getting it to recognize previous settings when I set it up and had to resort to exporting setting from 3.1 to get it to work.