Some more comments for seam sample; indexing fixups for usage; also flushed out some flaws in the flattening algorithm, seems to be robust now (as a bonus, new form seems simpler)