How do i load and save settings, like where the window was last placed, to an .ini file?