Fixes for thread naming issues where provider names are getting stacked on top each other per loop iteration.

Fix for speedcd no json data issue.

Fix for DB upgrade syntax errors caused by previous commit.