Readded _checkWindowSize and turned of debug for alpha release.