more data-import bugfixes and debugging for phase 2 & 3
more data-import bugfixes and debugging for phase 2 & 3