Functions to control the size of the window (fixing size, proportion,
resizing to original size). Documentation