updates and fixes

some minor updates and fixes.  on the trans.c additions, it seems like the convention in this file (and in some of the examples is to initialize the structs inside of blocks, add a pointer to them but then allow them to go out of scope.  I followed convention but will gladly change.