Added size getters and setters to Window class.