improved automatic header and dialect detection, support for excel docs