Fixed ansiesc display problem, added second attempt to set pandoc filetype for txt