add c++ tag for emacs
safety checks
cleanup: emacs doesn't like lonely tabs in makefiles, ignore .nnet files, no .yaml for non-yaml
fix warnings from the Athena compiler
bugfix: unititialized pointers