More fixes; tests are mostly working, overflow tables are missing
duplicate table - wip