freeze() is used to prevent the screen flickering during an update as each string in the monthly array is evaluated and redrawn. Place it before an update loop.
See also: thaw() .