Read and write basic main window settings