Rudimentary stream compaction; Host-side code somewhat complete. Need to review and change as necessary.