Added preallocated memory buffer between thrust stream compaction and vbo.
For some reason, thrust didn't play well with vbo.

Also changed exit(1) to exit(0) to let profiler get good data.