Tests if map is available
Removes unused function declaration
Lumps pretty-name, icon name and menu-entries for a .desktop file into a single structure 'group'

This eliminates multiple key-value pairs (map) that have identical keys.
Reserve space for menu entry vectors.