StateTab.finalize_states: don't query twice
data: minor bug fixes
data.add_spectrogram: store abitrary specgram
gw_summary: move to argparse
archive: HDF-based data archival