put casts on all uses of NULL to shut lint up; expected->error, removed "expected" word from default message, so all calls to expected (and the macro MUSTBE) have expected added