Make window size configurable

This is not backward compat, however.