restore test ensures previous table isn't destroyed
doc updates, make licensing more explicit
fix some doc inconsistencies
readme and todo updates