Tempo: optimized key tolerance, removed debug output