Save window size in hidden preferences, closes #69