60d75b94bb7e8e3d749c103ff5ae613268562c46
max
  Fri Jan 30 02:55:20 2026 -0800
Revert "Revert "Reapply "changing superTrack TrackUi quite a bit.""

This reverts commit 55df1a106590a6c9fd7e3cca90fa6bbad8eb50c4.

diff --git src/lib/common.c src/lib/common.c
index 756bf50236b..7774a64c1fa 100644
--- src/lib/common.c
+++ src/lib/common.c
@@ -65,30 +65,38 @@
 }
 
 char *catThreeStrings(char *a, char *b, char *c)
 /* Allocate new string that is a concatenation of three strings. */
 {
 int aLen = strlen(a), bLen = strlen(b), cLen = strlen(c);
 int len = aLen + bLen + cLen; 
 char *newBuf = needLargeMem(len+1);
 memcpy(newBuf, a, aLen);
 memcpy(newBuf+aLen, b, bLen);
 memcpy(newBuf+aLen+bLen, c, cLen);
 newBuf[len] = 0;
 return newBuf;
 }
 
+/* count elements of a NULL-terminated array */
+int arrNullLen(char **arr)
+{
+    int n = 0;
+    while (arr[n]) n++;
+    return n;
+}
+
 /* Reverse the order of the bytes. */
 void reverseBytes(char *bytes, long length)
 {
 long halfLen = (length>>1);
 char *end = bytes+length;
 char c;
 while (--halfLen >= 0)
     {
     c = *bytes;
     *bytes++ = *--end;
     *end = c;
     }
 }
 
 void reverseInts(int *a, int length)