detect empty files
minor changes
improved missing header detection (5 missing fields)
fixed makefile