updates to display.c and Makefile