Added Get functions to the Window class