fixes for speech IO, plus a preamble mode.