Review Feedback: Add comment to all functions where mutex must be held.
Review Feedback: Use g_strv_length()