fixed title parser to allow spaces and properties in title tags (some pages don't use valid html)