More comments and some minor cleanup in seam sample