Ensure that the random seed takes effect before the first test.
Add master clock indication. Fix some connection drawing bugs. Extend the self-test.