corrected bug with writesets not being written to frame headers.