Refactor settings dialog with a form file
Add windows icon
Set current index to 0 just for completeness