Added functionality that allows changing of Window width and height.