Added options for setting the window width and height