Add "scan" functionality to I2C mode.
Correctly detect when a mode didn't recognize a token.
Allow general mode commands after mode-specific commands.