* improved calculation of timesync and fps variables