datab: use set() functionality to speed up select/skip functionality.
plot: fix +1 offset.