Added selection.c to Makefile and some filename fixes.