replaced aborts with exceptions for Snap.py, defined preprocessor switches for Snap.py, Snapworld, and backtrace conditional compilations, added g++ flags in Makefile