left mouse button can be preserved for selection. Fix bug in updating
the database with the current selection. This bug was introduced with
the conversion to dynamic memory allocation for the number of
records. Indexing into the list of GI values is not handled correctly.