Rewrote connection handling

Rewrote the connection handling. Now select only works for identifier
and noet id(ints) and name (strings). This because id should be
internal column and not for selection.updating…