fixed makefile
updated gitignore
miscellaneous fixes for emacs usage