bug fix
some debugging extras
getting into texmapping
make segfault handler an ifdef