Made attributes for the Window class private