Changed title algorithm. Strips html entities first.