Combine siblings with like tags.

Make sure ostr is no longer than istr.

Implement time watchdog thread.
