bitmaps: efficient name index
Instead of an O(N) linked list of bitmap names in either the bm_list OR as attached to a node, use a more efficient index that scales to large numbers of bitmaps better.
Maybe GHashTable is sufficient, with g_str_hash() and g_str_equal().