Window size error message now uses defined values.