globals.c: improve comments