added checking of clock sync in sunDemo, currently not yet in tm