Update documentation and some bug fixes.  Use TR1 by defaut.