Add working Bot.cap, signal support, and tests pass.