Fix bugs with right-to-left languages and text alignments. Fix bug with RTL languages and smart quotes. Add UI improvements.