Fix broken pipe signal, use new laser algorithm