Don't duplicate out-of-order elements
Check whether XML settings file actually changed
Fix reference for building without VS 2010
Checkout from source control before saving
Create initial settings file on first launch