[osx] xcode change for dialog settings refactor
squash? order of variable initialisation fix
squash? unused variable fix
Merge pull request #34 from jmarshallnz/settings_gui

Settings gui - xcode build additions and a couple warning fixes