Replace .net settings provider with custom XML settings

Inbuilt settings did not transfer correctly between versions.
Add code to remove all old settings