Implement window size fixer
Fix syntax error
Get preference values correctly
Fix typo
Fix size of the window on the startup, after the session is restored