Yellen says the financial system is safer now than it was, though some adjustments to regulations may be needed.