threads: some cleanup.
use suffix! and append!.
combinators.extras: adding swap-when.