added some logic on start.

Slightly changed probe(), added some logic on start.
Just after start, added authomatic selection of protocol version.
Some minor improvements.