Remove dead m4, and make sure that the sort buffer is always large enough to handle...