add method store to save the main window settings
add MainView resize and move management