Corrected title handling to use WordPress standard filters.

Added support for including description in title on homepage and page numbers as well.