Check for failed allocations when creating window See issue #6021 for more details. svn path=/trunk/; revision=51125