Simple helper class for determining window size.