Enforced atomic manipulation of initial window size

Fixes #27