Save window positions. Closes #1