basic config save (window, dpi)