Masks: do not use float variable as loop counter!
Use guint as variable type for g_list_length() results
No strcat calls left. please use g_strlcat in new code :)
No strcpy calls left. please use g_strlcpy in new code :)