Some clean up for dataSource
Add warnings and a quick fix to disallow index overflows in buffers with more than 65535 vertices