Some comments on wavefront.c