remove blank line at top of Makefile template; more error checking; fit in 80col terminal