cleanup: Use arrays to hold list of strings
Using GList is sub-optimal and eventually needs just more allocations and iterations, so use arrays instead which provide a nicer API.
Using GList is sub-optimal and eventually needs just more allocations and iterations, so use arrays instead which provide a nicer API.