I have noticed that with current GIT version, settings like fullscreen, screen resolution and vsync are not saved on quit.
Whoops, missed a few functions buried in the commented out code that I removed.
Fixed by changeset 0d5a8e85c24d8adaa27fb6c35beac783c9d575f9
Thanks! It works now, config is saved as always.