Fixed XML Errors and simplified XML for TEP. Also fixed missing titles bug.