select words that span lines correctly
makefile fixes, readme updates
convert to getopt()