Sizeand location of MainInterface saved. Close #34