Renamed testgui to ui
Simple SQL array iterator - correct column index