Make config dialog modal to main window

Fixes #31
Make QSettings use ini format on all platforms

Fixes #29
Save complete main window geometry

Instead of only saving the origin, save the size also.