This will print the original title:
Now, code to change the page title....
And now the new title (plus check the title bar):