Improved page title handling.