Simplified main touch detect loop.