Bugfix to table and index creation; other changes