Added keep counter, phrase titles, fix XML escaping chars