imr_utils: fix deprecated DBTables set_connection(), fix case where num_slides might not be set, improve verbosity