improve the host memory mapping to handle drivers that support length larger that device limitation, and not.
bugfix around length of events[] array
add GpuScan replacement if simple SeqScan