Constrain window size to the maximum size.
Auto window rename.