resizeWindow() was added