Some bug fixes in TowTBN. Adapted localize example.