update Makefile, make fmt after lex/yacc, update event comments