Added ability to set size on window