define macros for keys
use fprintf on stderr
Fix use of directory as 3rd argument

Fixes #6
exit when option is not recognized
remove color init
implement ignore-case option
add makefile install target
install dosrc through install target