Actually fix window title and new[].

Now the correct string is used in the title.

And in C++ default operator new/new[] will throw a std::bad_alloc exception instead of returning a null pointer when failed. The nothrow variants as used in this commit does the opposite.