Fix for tables with empty columns, variables must exists for ARQ to be happy.
Formatting and import cleanup.