Perform initial window resizing manually

This works around a problem in which autosave name updates are not
picked up correctly by the window system in Yosemite, resulting in
untitled document windows always shown maximised.

Fix #216.