TPS measurement improvement, moved interface handling to tick