Fix waveform writing.

Actually do need to pack 16-bit data into 32-bit words.
--BRJ
Updates to waveforms test.

Cache status reads and uploads simple sequence data.

--BRJ