Полное изменение внутренней структуры работы с com-портом
separate data acquisition and processing. Saving files as long as only one. When you save some files a few bytes of cuts due to the removal of non-printable characters.