Several fixes to allow multiline \swiverb queries.