Main window's position and size are saved after tha
aplication is closed so they can be restored on the
I don't know how to find if the window is maximized so
this feature is not yet functional (maximized state)
but the road is prepared to add this functionality too.