Work with COM-port + bug fixes