Improved emergencystop and sendall (will not miss byte or pending)