Added a page title function. Fixed page title parsing.