removed uncommon baudrates from valid baudrates (speed up detection)
changed default baudrate to 0 (to mark un-detected channels)
restuctured code. added i2c auto-detection. removed unused variables.