Start of changes to the window