add comments to compile.c.  also other trivial cleanups